from system.action import Action

class Worker(Action):
    def receive_work(self, args):
        self.log("work")
        return args.get('num',1) ** 2
